package observer;

import observer.WeatherData;
import observer.WeatherDateDisplay;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;

/**
 * @author zhangxi
 * @date 2020/9/23
 */
public class test {
    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData();
        new WeatherDateDisplay(weatherData);
        new WeatherDateDisplay(weatherData);
        weatherData.setMessage(1f, 2f);
        weatherData.setMessage(2f, 3f);
    }
}
